package com.unrarme.api.kinobazaapi.objects
{
	public class Film
	{
		public var id:Number = 0;
		public var type:String = null;
		public var name:String = null;
		public var original_name:String = null;
		public var year:Number = 0;
		public var duration:Number = 0;
		public var best_torrent_quality:String = null;
		public var status:String = null;
		public var description:String = null;
		public var budget:String = null;
		public var revenue_usa:String = null;
		public var revenue_world:String = null;
		public var revenue_russia:String = null;
		public var countries:Array = null;
		public var participants:Array = null;
		public var genres:Array = null;
		public var ratings:Array = null;
		
		public function get cover_206():String {
			return "http://media.kinobaza.tv" + "/films/"+ this.id +"/poster/206.jpg";
		}
		public function get cover_60():String {
			return "http://media.kinobaza.tv" + "/films/"+ this.id +"/poster/60.jpg";
		}
		public function get cover_40():String {
			return "http://media.kinobaza.tv" + "/films/"+ this.id +"/poster/40.jpg";
		}
	}
}